package cn.wolfcode.crm.service.impl;

import cn.wolfcode.crm.mapper.ChartMapper;
import cn.wolfcode.crm.query.SaleChartQueryObject;
import cn.wolfcode.crm.service.IChartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ChartServiceImpl implements IChartService {

	@Autowired
	private ChartMapper mapper;

	//分页/高级/分组查询==>即销售报表查询
	public List<Map<String,Object>> selectSaleChart(SaleChartQueryObject qo){
		return mapper.queryForList(qo);
	}
}
